<?php

/**
 * Employee filter form.
 *
 * @package    Amawal Invest
 * @subpackage filter
 * @author     Ameen Shoman<amin.shoman@gmail.com>
 */
class EmployeeFormFilter extends BaseEmployeeFormFilter
{
    public function configure()
    {
        if(!sfContext::getInstance()->getUser()->hasCredential('super_admin')){
            unset($this['branch_id']);
        }
        unset($this['link_employee_leave_list']);
    }
}
